msi: Mask out multi-function flag from PCI_HEADER_TYPE in read_pci_mem_bar()
authorKeir Fraser <keir@xen.org>
Wed, 20 Oct 2010 07:40:44 +0000 (08:40 +0100)
committerKeir Fraser <keir@xen.org>
Wed, 20 Oct 2010 07:40:44 +0000 (08:40 +0100)
commit15542fcd1c9a42c551377b4ce2d44284f7340462
tree27beba7179da2978d6789f7676ab9e0b5a93c5ec
parent3aba19194e307b4135cb86adc38e8043ae84d77e
msi: Mask out multi-function flag from PCI_HEADER_TYPE in read_pci_mem_bar()

This leads to an erroneous WARN_ON and possibly other side effects. It
seems to me that even multi-function devices ought to enjoy the
privilege of MSI-X capabilities.

Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com>
xen/arch/x86/msi.c